<?php
$moduleName     = $this->adminHelper()->getModule();
$controllerName = $this->adminHelper()->getController();
$actionName     = $this->adminHelper()->getAction();

$menuArray = [
    'Admin' => [
        'name'  => $this->translate('系统'),
        'url'   => $this->url('admin'),

        'AdminController' => [
            'name'  => $this->translate('管理员'),
            'url'   => $this->url('admin'),

            'index'   => [
                'name'  => $this->translate('管理员列表'),
            ],
            'add'   => [
                'name'  => $this->translate('管理员添加'),
            ],
            'edit'  => [
                'name'  => $this->translate('管理员编辑'),
            ],
            'delete'    => [
                'name'  => $this->translate('管理员删除'),
            ],
            'changePassword'    => [
                'name'  => $this->translate('修改密码'),
            ]
        ],

        'AdminGroupController' => [
            'name'  => $this->translate('管理员组'),
            'url'   => $this->url('admin'),

            'adminGroupList'   => [
                'name'  => $this->translate('管理员组列表'),
            ],
            'addAdminGroup'   => [
                'name'  => $this->translate('添加管理员组'),
            ],
            'editAdminGroup'  => [
                'name'  => $this->translate('编辑管理员组'),
            ],
            'deleteAdminGroup'    => [
                'name'  => $this->translate('删除管理员组'),
            ]
        ],

        'SystemController' => [
            'name'  => $this->translate('系统设置'),
            'url'   => $this->url('admin-system')
        ],

        'CustomerSetController' => [
            'name'  => $this->translate('客户设置'),
            'url'   => $this->url('customer-set')
        ],

        'RegionController' => [
            'name'  => $this->translate('地区管理'),
            'url'   => $this->url('region'),

            'index' => [
                'name'  => $this->translate('地区列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加地区')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑地区')
            ],
            'delete'=> [
                'name'  => $this->translate('删除地区')
            ]
        ],

        'CurrencyController' => [
            'name'  => $this->translate('货币设置'),
            'url'   => $this->url('currency'),

            'index' => [
                'name'  => $this->translate('货币列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加货币')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑货币')
            ],
            'delete'  => [
                'name'  => $this->translate('删除货币')
            ]
        ],

        'PhoneAreaCodeController' => [
            'name'  => $this->translate('国际电话区号'),
            'url'   => $this->url('phone-area'),

            'index' => [
                'name'  => $this->translate('国际电话区号列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加国际电话区号')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑国际电话区号')
            ],
            'delete'  => [
                'name'  => $this->translate('删除国际电话区号')
            ]
        ],

        'SelfLocationController' => [
            'name'  => $this->translate('自提点管理'),
            'url'   => $this->url('self-location'),

            'index' => [
                'name'  => $this->translate('自提点列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加自提点')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑自提点')
            ],
            'memberList'  => [
                'name'  => $this->translate('核销人员列表')
            ],
            'addMember'  => [
                'name'  => $this->translate('添加核销人员')
            ],
            'editMember'  => [
                'name'  => $this->translate('编辑核销人员')
            ],
            'changeMemberPassword'  => [
                'name'  => $this->translate('核销人员登录密码修改')
            ]
        ],

        'MessageNotificationController' => [
            'name'  => $this->translate('消息提醒'),
            'url'   => $this->url('message-notification'),

            'index' => [
                'name'  => $this->translate('手机短信提醒')
            ],
            'emailMessageNotification' => [
                'name'  => $this->translate('电子邮件提醒')
            ]
        ],

        'DeliverySetController' => [
            'name'  => $this->translate('商家配送设置'),
            'url'   => $this->url('delivery-set'),

            'index' => [
                'name'  => $this->translate('商家配送')
            ],
            'addSingleArea' => [
                'name'  => $this->translate('添加个性地区设置')
            ],
            'infoSingleArea' => [
                'name'  => $this->translate('获取个性地区设置')
            ],
            'delSingleArea' => [
                'name'  => $this->translate('删除个性地区设置')
            ],
            'checkDeliveryPrice' => [
                'name'  => $this->translate('验证公式')
            ]
        ],

        'DeliveryController' => [
            'name'  => $this->translate('配送管理'),
            'url'   => $this->url('delivery'),

            'index' => [
                'name'  => $this->translate('配送列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加配送')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑配送')
            ],
            'delete'  => [
                'name'  => $this->translate('删除配送')
            ]
        ],

        'PaymentController' => [
            'name'  => $this->translate('支付设置'),
            'url'   => $this->url('payment'),

            'index' => [
                'name'  => $this->translate('支付列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加支付')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑支付')
            ]
        ],

        'UploadSetController' => [
            'name'  => $this->translate('图片附件'),
            'url'   => $this->url('upload-set'),

            'index' => [
                'name'  => $this->translate('图片附件设置')
            ]
        ],

        'ServiceBindController' => [
            'name'  => $this->translate('服务绑定'),
            'url'   => $this->url('service-bind'),

            'clearServiceBind' => [
                'name'  => $this->translate('服务解绑')
            ]
        ],

        'TemplateController' => [
            'name'  => $this->translate('模板管理'),
            'url'   => $this->url('template'),

            'index' => [
                'name'  => $this->translate('电脑端模板')
            ],
            'mobileTemplate' => [
                'name'  => $this->translate('手机端模板')
            ],
            'installPcTemplate' => [
                'name'  => $this->translate('在线安装电脑端模板')
            ],
            'installMobileTemplate' => [
                'name'  => $this->translate('在线安装手机端模板')
            ],
            'startInstallTemplate' => [
                'name'  => $this->translate('安装模板处理')
            ]
        ],

        'UpdateController' => [
            'name'  => $this->translate('系统更新'),
            'url'   => $this->url('update'),

            'index' => [
                'name'  => $this->translate('更新包列表')
            ],
            'updatePackageInfo' => [
                'name'  => $this->translate('更新包详情')
            ],
            'startShopPackage' => [
                'name'  => $this->translate('更新包更新')
            ]
        ],

        'OperLogController' => [
            'name'  => $this->translate('操作日志'),
            'url'   => $this->url('oper-log'),

            'index' => [
                'name'  => $this->translate('日志列表')
            ],
            'clearOperLog' => [
                'name'  => $this->translate('删除日志')
            ]
        ]
    ],

    'Sales' => [
        'name'  => $this->translate('销售'),
        'url'   => $this->url('sales'),
        'IndexController' => [
            'name'  => $this->translate('订单管理'),
            'url'   => $this->url('sales'),

            'index' => [
                'name'  => $this->translate('订单列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加订单')
            ],
            'detail'  => [
                'name'  => $this->translate('订单详情')
            ],
            'payOrder'  => [
                'name'  => $this->translate('订单付款')
            ],
            'shipOrder'  => [
                'name'  => $this->translate('订单发货')
            ],
            'sendOrderGoodsVirtual'  => [
                'name'  => $this->translate('虚拟商品发货')
            ],
            'receiptOrder'  => [
                'name'  => $this->translate('订单收货')
            ],
            'cancelOrder'  => [
                'name'  => $this->translate('订单取消')
            ],
            'deleteCancelOrder'  => [
                'name'  => $this->translate('一键删除已取消订单')
            ],
            'printOrder'  => [
                'name'  => $this->translate('订单打印')
            ],
            'orderNotes'  => [
                'name'  => $this->translate('订单备注')
            ],
            'changeOrderAmount' => [
                'name'  => $this->translate('订单金额调整')
            ],
            'editOrderExpressNumber' => [
                'name'  => $this->translate('快递单号修改')
            ],
            'showOrderExpressTrack' => [
                'name'  => $this->translate('物流轨迹')
            ],
            'orderPaymentLog' => [
                'name'  => $this->translate('支付记录')
            ],
            'orderRefundLog' => [
                'name'  => $this->translate('退款记录')
            ],
            'deliveryAddressMap' => [
                'name'  => $this->translate('收货地图查看')
            ]
        ],

        'SalesServiceController' => [
            'name'  => $this->translate('售后管理'),
            'url'   => $this->url('sales-service'),

            'index' => [
                'name'  => $this->translate('售后列表')
            ],
            'edit' => [
                'name'  => $this->translate('售后审核')
            ],
            'view' => [
                'name'  => $this->translate('售后详情')
            ],
            'delete' => [
                'name'  => $this->translate('售后删除')
            ]
        ],

        'ShipController' => [
            'name'  => $this->translate('发货单'),
            'url'   => $this->url('sales-ship'),

            'index' => [
                'name'  => $this->translate('发货单列表')
            ],
            'detail' => [
                'name'  => $this->translate('发货单详情')
            ],
            'exportSalesShip' => [
                'name'  => $this->translate('导出发货单')
            ]
        ]
    ],

    'Goods' => [
        'name'  => $this->translate('商品'),
        'url'   => $this->url('goods'),

        'IndexController' => [
            'name'  => $this->translate('商品管理'),
            'url'   => $this->url('goods'),

            'index' => [
                'name'  => $this->translate('商品列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加商品')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑商品')
            ],
            'updateMoreGoods' => [
                'name'  => $this->translate('批量操作')
            ],
            'editVirtualGoods'  => [
                'name'  => $this->translate('虚拟商品查看与补货')
            ],
            'ajaxUpdateVirtualGoods'  => [
                'name'  => $this->translate('虚拟商品添加与编辑')
            ],
            'deleteVirtualGoods'  => [
                'name'  => $this->translate('删除虚拟商品')
            ],
            'importAddMoreVirtualGoods'  => [
                'name'  => $this->translate('批量导入虚拟商品')
            ],
            'editGoodsPrice'  => [
                'name'  => $this->translate('商品价格编辑')
            ],
        ],

        'GoodsClassController' => [
            'name'  => $this->translate('分类管理'),
            'url'   => $this->url('goods-class'),

            'index' => [
                'name'  => $this->translate('分类列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加分类')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑分类')
            ],
            'delete'  => [
                'name'  => $this->translate('删除分类')
            ],
            'updateAllSort'  => [
                'name'  => $this->translate('批量修改排序')
            ],
            'updateClassGoods'  => [
                'name'  => $this->translate('更新分类内商品')
            ],
            'deleteClassGoods'  => [
                'name'  => $this->translate('删除分类内商品')
            ]
        ],

        'GoodsBrandController' => [
            'name'  => $this->translate('商品品牌'),
            'url'   => $this->url('goods-brand'),

            'index' => [
                'name'  => $this->translate('品牌列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加品牌')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑品牌')
            ],
            'delete'  => [
                'name'  => $this->translate('删除品牌')
            ],
            'updateAllSort'  => [
                'name'  => $this->translate('批量修改排序')
            ],
            'deleteBrandGoods'  => [
                'name'  => $this->translate('删除品牌内商品')
            ]
        ],

        'GoodsCommonContentController' => [
            'name'  => $this->translate('商品通用内容'),
            'url'   => $this->url('goods-common'),

            'index' => [
                'name'  => $this->translate('通用内容列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加通用内容')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑通用内容')
            ],
            'delete'  => [
                'name'  => $this->translate('删除通用内容')
            ]
        ],

        'GoodsAttributeController' => [
            'name'  => $this->translate('商品属性'),
            'url'   => $this->url('goods-attribute'),

            'index' => [
                'name'  => $this->translate('属性列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加属性')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑属性')
            ],
            'delete'  => [
                'name'  => $this->translate('删除属性')
            ],
            'updateAllSort'  => [
                'name'  => $this->translate('批量排序和删除')
            ],
            'attributeValue' => [
                'name'  => $this->translate('属性值列表')
            ],
            'addAttributeValue' => [
                'name'  => $this->translate('添加属性值')
            ],
            'editAttributeValue' => [
                'name'  => $this->translate('编辑属性值')
            ],
            'deleteAttributeValue' => [
                'name'  => $this->translate('删除属性值')
            ],
            'updateAttributeValueAll' => [
                'name'  => $this->translate('属性值批量处理')
            ]
        ],

        'GoodsAttributeGroupController' => [
            'name'  => $this->translate('商品属性分组'),
            'url'   => $this->url('goods-attribute-group'),

            'index' => [
                'name'  => $this->translate('属性组列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加属性组')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑属性组')
            ],
            'delete'  => [
                'name'  => $this->translate('删除属性组')
            ],
            'updateAllSort'  => [
                'name'  => $this->translate('批量修改排序')
            ]
        ],

        'GoodsTagGroupController' => [
            'name'  => $this->translate('商品标签分组'),
            'url'   => $this->url('goods-tag-group'),

            'index' => [
                'name'  => $this->translate('标签组列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加标签组')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑标签组')
            ],
            'delete'  => [
                'name'  => $this->translate('删除标签组')
            ],
            'updateAllSort'  => [
                'name'  => $this->translate('批量修改排序')
            ]
        ],

        'GoodsTagController' => [
            'name'  => $this->translate('普通商品标签'),
            'url'   => $this->url('goods-tag'),

            'index' => [
                'name'  => $this->translate('标签列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加标签')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑标签')
            ],
            'delete'  => [
                'name'  => $this->translate('删除标签')
            ],
            'updateAllSort'  => [
                'name'  => $this->translate('批量排序和删除')
            ],
            'addTagGoods'  => [
                'name'  => $this->translate('添加标签商品')
            ],
            'deleteTagGoods'  => [
                'name'  => $this->translate('删除标签商品')
            ]
        ],

        'GoodsSpecTagController' => [
            'name'  => $this->translate('特定商品标签'),
            'url'   => $this->url('goods-spec-tag'),

            'index' => [
                'name'  => $this->translate('特定标签列表')
            ],
            'editSpecTagGoods'   => [
                'name'  => $this->translate('设置商品')
            ],
            'addSpecTagGoods'   => [
                'name'  => $this->translate('添加特定标签商品')
            ],
            'updateSpecTagGoods'   => [
                'name'  => $this->translate('更新特定标签商品')
            ],
            'deleteSpecTagGoods'   => [
                'name'  => $this->translate('删除特定标签商品')
            ]
        ],

        'GoodsOtherTagController' => [
            'name'  => $this->translate('聚合标签'),
            'url'   => $this->url('goods-other-tag'),

            'index' => [
                'name'  => $this->translate('聚合标签列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加聚合标签')
            ],
            'delete'=> [
                'name'  => $this->translate('删除聚合标签')
            ],
            'editTagGoods' => [
                'name'  => $this->translate('设置商品')
            ]
        ],

        'GoodsConsultationController' => [
            'name'  => $this->translate('商品咨询'),
            'url'   => $this->url('goods-consult'),

            'index' => [
                'name'  => $this->translate('咨询列表')
            ],
            'replyConsult' => [
                'name'  => $this->translate('回复咨询')
            ],
            'delete' => [
                'name'  => $this->translate('删除咨询')
            ],
            'deleteMoreConsultation' => [
                'name'  => $this->translate('批量删除咨询')
            ]
        ],

        'GoodsEvaluationController' => [
            'name'  => $this->translate('商品评价'),
            'url'   => $this->url('goods-evaluation'),

            'index' => [
                'name'  => $this->translate('评价列表')
            ],
            'showEvaluation' => [
                'name'  => $this->translate('编辑查看')
            ],
            'replyEvaluation' => [
                'name'  => $this->translate('评价回复')
            ],
            'deleteEvaluation' => [
                'name'  => $this->translate('删除评价')
            ]
        ]
    ],

    'User' => [
        'name'  => $this->translate('客户'),
        'url'   => $this->url('user'),

        'IndexController' => [
            'name'  => $this->translate('客户管理'),
            'url'   => $this->url('user'),

            'index' => [
                'name'  => $this->translate('客户列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加客户')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑客户')
            ],
            'delete'  => [
                'name'  => $this->translate('删除客户')
            ],
            'deleteMore'  => [
                'name'  => $this->translate('批量删除客户')
            ],
            'changeUserPassword'  => [
                'name'  => $this->translate('修改登录密码')
            ],
            'changePayPassword'  => [
                'name'  => $this->translate('修改支付密码')
            ],
            'userAddressMap'  => [
                'name'  => $this->translate('地图查看')
            ]
        ],

        'UserGroupController' => [
            'name'  => $this->translate('客户组管理'),
            'url'   => $this->url('user-group'),

            'index' => [
                'name'  => $this->translate('客户组列表')
            ],
            'add'   => [
                'name'  => $this->translate('添加客户组')
            ],
            'edit'  => [
                'name'  => $this->translate('编辑客户组')
            ],
            'delete'  => [
                'name'  => $this->translate('删除客户组')
            ]
        ],

        'IntegralController' => [
            'name'  => $this->translate('积分'),
            'url'   => $this->url('user-integral'),

            'index' => [
                'name'  => $this->translate('积分类型')
            ],
            'editIntegralType' => [
                'name'  => $this->translate('编辑积分类型')
            ],
            'editUserIntegral' => [
                'name'  => $this->translate('客户积分调整')
            ],
            'integralRule' => [
                'name'  => $this->translate('积分规则列表')
            ],
            'addIntegralRule' => [
                'name'  => $this->translate('添加积分规则')
            ],
            'editIntegralRule' => [
                'name'  => $this->translate('编辑积分规则')
            ],
            'deleteIntegralRule' => [
                'name'  => $this->translate('删除积分规则')
            ],
            'integralLog' => [
                'name'  => $this->translate('积分记录')
            ]
        ],

        'BalanceController' => [
            'name'  => $this->translate('余额'),
            'url'   => $this->url('user-balance'),

            'index' => [
                'name'  => $this->translate('余额记录')
            ],
            'rechargeList' => [
                'name'  => $this->translate('充值列表')
            ],
            'deleteRecharge' => [
                'name'  => $this->translate('删除充值记录')
            ],
            'deleteNoPayRecharge' => [
                'name'  => $this->translate('一键删除未充值记录')
            ],
            'withdrawList' => [
                'name'  => $this->translate('提现列表')
            ],
            'reviewWithdraw' => [
                'name'  => $this->translate('提现审核')
            ],
            'editUserBalance' => [
                'name'  => $this->translate('余额调整')
            ],
            'deleteWithdraw' => [
                'name'  => $this->translate('删除提现申请')
            ]
        ]
    ],

    'Cms' => [
        'name'  => $this->translate('文章'),
        'url'   => $this->url('cms'),

        'IndexController' => [
            'name'  => $this->translate('文章管理'),
            'url'   => $this->url('cms'),

            'index' => [
                'name'  => $this->translate('文章列表')
            ],
            'add' => [
                'name'  => $this->translate('添加文章')
            ],
            'edit' => [
                'name'  => $this->translate('编辑文章')
            ],
            'delete' => [
                'name'  => $this->translate('删除文章')
            ]
        ],

        'CmsClassController' => [
            'name'  => $this->translate('文章分类管理'),
            'url'   => $this->url('cms-class'),

            'index' => [
                'name'  => $this->translate('分类列表')
            ],
            'add' => [
                'name'  => $this->translate('添加分类')
            ],
            'edit' => [
                'name'  => $this->translate('编辑分类')
            ],
            'delete' => [
                'name'  => $this->translate('删除分类')
            ]
        ],

        'CmsSingleController' => [
            'name'  => $this->translate('单页文章管理'),
            'url'   => $this->url('cms-single'),

            'index' => [
                'name'  => $this->translate('单页文章列表')
            ],
            'add' => [
                'name'  => $this->translate('添加单页文章')
            ],
            'edit' => [
                'name'  => $this->translate('编辑单页文章')
            ],
            'delete' => [
                'name'  => $this->translate('删除单页文章')
            ]
        ]
    ],

    'Operation' => [
        'name'  => $this->translate('运营'),
        'url'   => $this->url('operation'),

        'DiscountController' => [
            'name'  => $this->translate('优惠促销'),
            'url'   => $this->url('operation-discount'),

            'index' => [
                'name'  => $this->translate('促销列表')
            ],
            'add' => [
                'name'  => $this->translate('添加优惠促销')
            ],
            'edit' => [
                'name'  => $this->translate('编辑优惠促销')
            ],
            'delete' => [
                'name'  => $this->translate('删除促销规则')
            ]
        ],

        'CouponController' => [
            'name'  => $this->translate('优惠券'),
            'url'   => $this->url('operation-coupon'),

            'index' => [
                'name'  => $this->translate('优惠券列表')
            ],
            'add' => [
                'name'  => $this->translate('添加优惠券')
            ],
            'edit' => [
                'name'  => $this->translate('编辑优惠券')
            ],
            'delete' => [
                'name'  => $this->translate('删除优惠券')
            ],
            'userCouponList' => [
                'name'  => $this->translate('会员优惠券列表')
            ]
        ],

        'CouponCodeController' => [
            'name'  => $this->translate('优惠码'),
            'url'   => $this->url('operation-coupon-code'),

            'index' => [
                'name'  => $this->translate('优惠码列表')
            ],
            'add' => [
                'name'  => $this->translate('添加优惠码')
            ],
            'edit' => [
                'name'  => $this->translate('编辑优惠码')
            ],
            'delete' => [
                'name'  => $this->translate('删除优惠码')
            ],
            'createCouponCode' => [
                'name'  => $this->translate('生成优惠码')
            ],
            'couponCodeList' => [
                'name'  => $this->translate('会员优惠码列表')
            ],
            'exportCouponCode' => [
                'name'  => $this->translate('导出优惠码')
            ]
        ],

        'RechargeCodeController' => [
            'name'  => $this->translate('充值码'),
            'url'   => $this->url('operation-recharge-code'),

            'index' => [
                'name'  => $this->translate('充值码生成规则')
            ],
            'add' => [
                'name'  => $this->translate('添加充值码生成规则')
            ],
            'edit' => [
                'name'  => $this->translate('编辑充值码生成规则')
            ],
            'delete' => [
                'name'  => $this->translate('删除充值码规则')
            ],
            'createRechargeCode' => [
                'name'  => $this->translate('生成充值码')
            ],
            'rechargeCodeList' => [
                'name'  => $this->translate('充值码列表')
            ],
            'exportRechargeCode' => [
                'name'  => $this->translate('导出充值码')
            ]
        ],

        'AdController' => [
            'name'  => $this->translate('广告'),
            'url'   => $this->url('operation-ad'),

            'index' => [
                'name'  => $this->translate('电脑广告列表')
            ],
            'adEdit' => [
                'name'  => $this->translate('编辑电脑广告')
            ],
            'mobileAdList' => [
                'name'  => $this->translate('手机广告列表')
            ],
            'mobileAdEdit' => [
                'name'  => $this->translate('编辑手机广告')
            ],
            'adDelete' => [
                'name'  => $this->translate('广告清除')
            ]
        ],

    ],

    'Analysis'    => [
        'name'  => $this->translate('统计'),
        'url'   => $this->url('analysis'),

        'IndexController' => [
            'index' => [
                'name'  => $this->translate('客户统计')
            ],
            'userRanking' => [
                'name'  => $this->translate('客户排行')
            ],
            'orderStatistics' => [
                'name'  => $this->translate('订单统计')
            ],
            'salesStatistics' => [
                'name'  => $this->translate('销售情况')
            ],
            'returnStatistics' => [
                'name'  => $this->translate('退款情况')
            ],
            'salesRanking' => [
                'name'  => $this->translate('销售排行')
            ]
        ]
    ],

    'Extend'    => [
        'name'  => $this->translate('扩展'),
        'url'   => $this->url('extend'),

        'IndexController' => [
            'name'  => $this->translate('扩展插件'),
            'url'   => $this->url('extend'),

            'index' => [
                'name'  => $this->translate('已安装插件列表')
            ],
            'pluginList' => [
                'name'  => $this->translate('可安装插件列表')
            ]
        ],

        'NavigationController' => [
            'name'  => $this->translate('导航设置'),
            'url'   => $this->url('navigation'),

            'index' => [
                'name'  => $this->translate('导航列表')
            ],
            'add' => [
                'name'  => $this->translate('添加导航')
            ],
            'edit' => [
                'name'  => $this->translate('编辑导航')
            ],
            'delete' => [
                'name'  => $this->translate('删除导航')
            ]
        ],

        'OnlineServiceController' => [
            'name'  => $this->translate('在线客服'),
            'url'   => $this->url('online-service'),

            'index' => [
                'name'  => $this->translate('客服设置')
            ]
        ],
    ]
];

?>
<ol class="breadcrumb">
    <a href="<?php echo $this->url('home');?>"><i class="fa fa-dashboard"></i></a>
    <?php if(isset($menuArray[$moduleName])) { ?>
        <li><a href="<?php echo $menuArray[$moduleName]['url']; ?>"><?php echo $menuArray[$moduleName]['name']; ?></a></li>

        <?php if(isset($menuArray[$moduleName][$controllerName])) { ?>
            <?php if (isset($menuArray[$moduleName][$controllerName]['url'])) { ?>
                <li><a href="<?php echo $menuArray[$moduleName][$controllerName]['url']; ?>"><?php echo $menuArray[$moduleName][$controllerName]['name']; ?></a></li>
            <?php } ?>

            <?php if(isset($menuArray[$moduleName][$controllerName][$actionName])) { ?>
                <li class="active"><?php echo $menuArray[$moduleName][$controllerName][$actionName]['name']; ?></li>
            <?php } ?>

        <?php } ?>

    <?php } ?>
</ol>
